package com.example.lib5.company_interface.StringsAndArrays.test2;

import java.util.Arrays;

/**
 * 创建日期：2022/6/7 0007 14:39
 *
 * @author tony.sun
 * 类说明：
 */
public class main {
    public static void main(String[] args) {
        StringOperateImpl operate=new StringOperateImpl();
        String divide="&&";
        String[] strings= operate.split("ab&&2",divide);
        System.out.println(Arrays.toString(strings));
        String[] arr=new String[]{"ab","2"};
        String group = operate.group(arr, divide);
        System.out.println(group);
    }
}
